//
//  UIButton+Extension.swift
//  WeiBo
//
//  Created by 程雷 on 2017/1/5.
//  Copyright © 2017年 chenglei. All rights reserved.
//

import UIKit

extension UIButton{

    convenience init(title: String, font: CGFloat ,textColor: UIColor) {
        
        self.init()
        self .setTitle(title, for: .normal)
        self .setTitleColor(textColor, for: .normal)
        self .titleLabel?.font = UIFont.systemFont(ofSize: font)
     
    }
    
}
